Ext.onReady(function() {

			var mainPanel = Ext.getCmp('mainPanel');

			var customerGrid = new CustomerGrid({
						region	: 'south'
					});

			var searchPanel = new SearchPanel({
						region	: 'center'
					});

			new Ext.Panel({
						layout		: 'border',
						id			: 'tab-customer',
						renderTo	: 'customer',
						border		: false,
						height		: mainPanel.getInnerHeight(),
						items		: [customerGrid, searchPanel]
					});
		});